import datetime
now = datetime.datetime.now()
date = now + datetime.timedelta(days = -1)
print str(date)[0:10]